﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
 *
 * == BEGIN LICENSE ==
 *
 * Licensed under the terms of any of the following licenses at your
 * choice:
 *
 *  - GNU General Public License Version 2 or later (the "GPL")
 *    http://www.gnu.org/licenses/gpl.html
 *
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 *    http://www.gnu.org/licenses/lgpl.html
 *
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 *
 * == END LICENSE ==
 *
 * Image Properties dialog window.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Image Properties</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="robots" content="noindex, nofollow" />
    <script src="common/fck_dialog_common.js" type="text/javascript"></script>
    <script src="fck_image/fck_image.js" type="text/javascript"></script>
    <script type="text/javascript">
        document.write(FCKTools.GetStyleHtml(GetCommonDialogCss()));
    </script>
</head>
<body scroll="no" style="overflow: hidden">
    <div id="divInfo">
        <table cellspacing="1" cellpadding="1" border="0" width="100%" height="100%">
            <tr>
                <td>
                    <span>图片地址：</span><br />
                    <input id="txtUrl" style="width: 100%" type="text" onblur="UpdatePreview();" />
                </td>
            </tr>
            <tr>
                <td>
                    <span>图片链接：</span><br />
                    <input id="txtLnkUrl" style="width: 100%" type="text" onblur="UpdatePreview();" />
                </td>
            </tr>
            <tr>
                <td>
                    <span>图片描述：</span><br />
                    <input id="txtAlt" style="width: 100%" type="text" onblur="UpdatePreview();" />
                </td>
            </tr>
            <tr height="100%">
                <td valign="top">
                    <table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%">
                        <tr>
                            <td valign="top">
                                <br />
                                <table cellspacing="0" cellpadding="0" border="0">
                                    <tr>
                                        <td nowrap="nowrap">
                                            <span fcklang="DlgImgWidth">Width</span>&nbsp;
                                        </td>
                                        <td>
                                            <input type="text" size="3" id="txtWidth" onkeyup="OnSizeChanged('Width',this.value);" />
                                        </td>
                                        <td rowspan="2">
                                            <div id="btnLockSizes" class="BtnLocked" onmouseover="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' ) + ' BtnOver';"
                                                onmouseout="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' );" title="Lock Sizes"
                                                onclick="SwitchLock(this);">
                                            </div>
                                        </td>
                                        <td rowspan="2">
                                            <div id="btnResetSize" class="BtnReset" onmouseover="this.className='BtnReset BtnOver';"
                                                onmouseout="this.className='BtnReset';" title="Reset Size" onclick="ResetSizes();">
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td nowrap="nowrap">
                                            <span fcklang="DlgImgHeight">Height</span>&nbsp;
                                        </td>
                                        <td>
                                            <input type="text" size="3" id="txtHeight" onkeyup="OnSizeChanged('Height',this.value);" />
                                        </td>
                                    </tr>
                                </table>
                                <br />
                                <table cellspacing="0" cellpadding="0" border="0">
                                    <tr>
                                        <td nowrap="nowrap">
                                            <span fcklang="DlgImgBorder">Border</span>&nbsp;
                                        </td>
                                        <td>
                                            <input type="text" size="2" value="0" id="txtBorder" onkeyup="UpdatePreview();" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td nowrap="nowrap">
                                            <span fcklang="DlgImgAlign">Align</span>&nbsp;
                                        </td>
                                        <td>
                                            <select id="cmbAlign" onchange="UpdatePreview();">
                                                <option value="" selected="selected"></option>
                                                <option fcklang="DlgImgAlignLeft" value="left">Left</option>
                                                <option fcklang="DlgImgAlignAbsBottom" value="absBottom">Abs Bottom</option>
                                                <option fcklang="DlgImgAlignAbsMiddle" value="absMiddle">Abs Middle</option>
                                                <option fcklang="DlgImgAlignBaseline" value="baseline">Baseline</option>
                                                <option fcklang="DlgImgAlignBottom" value="bottom">Bottom</option>
                                                <option fcklang="DlgImgAlignMiddle" value="middle">Middle</option>
                                                <option fcklang="DlgImgAlignRight" value="right">Right</option>
                                                <option fcklang="DlgImgAlignTextTop" value="textTop">Text Top</option>
                                                <option fcklang="DlgImgAlignTop" value="top">Top</option>
                                            </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                        <td>
                                            <input id="txtAttStyle" type="hidden" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td width="100%" valign="top" style="padding-top: 5px;">
                                <table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed">
                                    <tr>
                                        <td>
                                            预览：
                                        </td>
                                    </tr>
                                    <tr>
                                        <td valign="top">
                                            <iframe class="ImagePreviewArea" src="fck_image/fck_image_preview.html" frameborder="0"
                                                marginheight="0" marginwidth="0"></iframe>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <div id="divUpload" style="display: none">
        <form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data"
        action="" onsubmit="return CheckUpload();">
        <br />
        <input id="txtUploadFile" style="width: 80%; height: 22px; font-size: 12px;" type="file"
            size="40" name="NewFile" />
        <input id="btnUpload" type="submit" value="上 传" />
        <script type="text/javascript">
            document.write('<iframe name="UploadWindow" style="display: none" src="' + FCKTools.GetVoidUrl() + '"><\/iframe>');
        </script>
        </form>
    </div>
</body>
</html>
